home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM)))) ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- sat_reduce - filter interesting records from the system audit trail
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssssaaaatttt____rrrreeeedddduuuucccceeee [----aaaa date-and-time] [----AAAA date-and-time]
- [(----cccc | ----CCCC) command-name ... ]
- [(----ssss | ----SSSS) syscall-name ... ]
- [(----uuuu | ----UUUU) user-name ... ]
- [(----eeee | ----EEEE) event ...]
- [(----llll | ----LLLL) label ...]
- [(----nnnn | ----NNNN) named-object ... ]
- [----ffff] [----pppp] [----PPPP] [----vvvv] [infile ...]
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_a_t__r_e_d_u_c_e examines an input stream of binary audit data, selects records
- that match the criteria specified by its run time arguments, and prints
- the chosen records in binary to standard output.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----aaaa _d_a_t_e-_a_n_d-_t_i_m_e
- Select records _a_n_t_e_c_e_d_e_n_t _t_o (before) the specified date and
- time. The date and time are expressed in the _m_m_d_d_h_h_m_m[[_c_c]_y_y]
- format described in the _d_a_t_e(1) manual page.
-
- ----AAAA _d_a_t_e-_a_n_d-_t_i_m_e
- Select records _a_f_t_e_r the specified date and time. The date
- and time are expressed in the _m_m_d_d_h_h_m_m[[_c_c]_y_y] format
- described in the _d_a_t_e(1) manual page.
-
- ----cccc _c_o_m_m_a_n_d-_n_a_m_e
- Select records generated by the specified command name.
-
- ----CCCC _c_o_m_m_a_n_d-_n_a_m_e
- Select records generated commands other than the specified
- command name.
-
- ----ssss _s_y_s_c_a_l_l-_n_a_m_e
- Select records generated by the specified system call name.
-
- ----SSSS _s_y_s_c_a_l_l-_n_a_m_e
- Select records generated commands other than the specified
- system call name.
-
- ----uuuu _u_s_e_r-_n_a_m_e
- Select records containing the specified user name.
-
- ----UUUU _u_s_e_r-_n_a_m_e
- Select records lacking the specified user name.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM)))) ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM))))
-
-
-
- ----eeee _e_v_e_n_t Select records containing the specified audit event. The
- format of the event string is defined in the
- _s_a_t__e_v_e_n_t_t_o_s_t_r(3L) manual page.
-
- ----EEEE _e_v_e_n_t Select records lacking the specified audit event. The format
- of the event string is defined in the _s_a_t__e_v_e_n_t_t_o_s_t_r(3L)
- manual page.
-
- ----llll _l_a_b_e_l Select records for which the user is at the specified label.
- The format of the label string is defined in the
- _m_a_c__f_r_o_m__t_e_x_t(3C) manual page.
-
- ----LLLL _l_a_b_e_l Select records for which the user is nnnnooootttt at the specified
- label. The format of the label string is defined in the
- _m_a_c__f_r_o_m__t_e_x_t(3C) manual page.
-
- ----nnnn _n_a_m_e_d-_o_b_j_e_c_t
- Select records whose pathname field contains the specified
- named object. A regular expression, as defined in the
- _r_e_g_e_x(3G) manual page, can be used to specify the named
- object.
-
- ----NNNN _n_a_m_e_d-_o_b_j_e_c_t
- Select records whose pathname field lacks the specified named
- object. A regular expression, as defined in the _r_e_g_e_x(3G)
- manual page, can be used to specify the _n_a_m_e_d-_o_b_j_e_c_t.
-
- ----ffff Apply the restrictions of the ----aaaa and ----AAAA options to the file
- header, eliminating those files from consideration which fall
- outside the range of times specified.
-
- ----pppp Select records describing user actions ppppeeeerrrrmmmmiiiitttttttteeeedddd by the system
- security policy. This option requires no argument.
-
- ----PPPP Select records describing user actions pppprrrroooohhhhiiiibbbbiiiitttteeeedddd by the
- system security policy, that is, records describing deliberate
- or inadvertent attempted violations of security policy. This
- option requires no argument.
-
- ----vvvv Verbose diagnostic notes are printed to standard error.
-
- _i_n_f_i_l_e Data is taken from the specified _i_n_f_i_l_es. If no _i_n_f_i_l_es are
- specified, data is taken from standard input. The format of
- _i_n_f_i_l_e must be identical to the output generated by _s_a_t_d(1M)
- and _s_a_t__r_e_d_u_c_e(1M).
-
- DDDDEEEEFFFFAAAAUUUULLLLTTTTSSSS
- If many record selection conditions are presented on the command line,
- they all must be true for a record to be chosen.
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM)))) ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM))))
-
-
-
- If ----aaaa is not specified, records are selected starting with the beginning
- of the system audit trail. If ----AAAA is not specified, records are selected
- ending with the conclusion of the system audit trail. If ----ffff is not
- specified, every record of all of the _i_n_f_i_l_es will be checked.
-
- If neither ----cccc nor ----CCCC are specified, _s_a_t__r_e_d_u_c_e selects records describing
- actions by any command. If both ----cccc and ----CCCC are specified, _s_a_t__r_e_d_u_c_e
- prints a warning and a usage string to standard error, then exits. If
- more than one ----cccc argument is specified, _s_a_t__r_e_d_u_c_e selects records
- describing actions by any command specified by one of the ----cccc arguments.
- If more than one ----CCCC argument is specified, _s_a_t__r_e_d_u_c_e selects records
- describing actions by commands specified by none of the ----CCCC arguments.
-
- If neither ----ssss nor ----SSSS are specified, _s_a_t__r_e_d_u_c_e selects records describing
- actions by any system call. If both ----ssss and ----SSSS are specified, _s_a_t__r_e_d_u_c_e
- prints a warning and a usage string to standard error, then exits. If
- more than one ----ssss argument is specified, _s_a_t__r_e_d_u_c_e selects records
- describing actions by any system call specified by one of the ----ssss
- arguments. If more than one ----SSSS argument is specified, _s_a_t__r_e_d_u_c_e selects
- records describing actions by system calls specified by none of the ----SSSS
- arguments.
-
- If neither ----uuuu nor ----UUUU are specified, _s_a_t__r_e_d_u_c_e selects records describing
- actions by any user. If both ----uuuu and ----UUUU are specified, _s_a_t__r_e_d_u_c_e prints
- a warning and a usage string to standard error, then exits. If more than
- one ----uuuu argument is specified, _s_a_t__r_e_d_u_c_e selects records describing
- actions by any user specified by one of the ----uuuu arguments. If more than
- one ----UUUU argument is specified, _s_a_t__r_e_d_u_c_e selects records describing
- actions by users specified by none of the ----UUUU arguments.
-
- If neither ----eeee nor ----EEEE are specified, _s_a_t__r_e_d_u_c_e selects records containing
- any audit event. If both ----eeee and ----EEEE are specified, _s_a_t__r_e_d_u_c_e prints a
- warning and a usage string to standard error, then exits. If more than
- one ----eeee argument is specified, _s_a_t__r_e_d_u_c_e selects records that contain
- audit events specified by any of the ----eeee arguments. If more than one ----EEEE
- argument is specified, _s_a_t__r_e_d_u_c_e selects records that contain audit
- events specified by none of the ----EEEE arguments.
-
- If neither ----llll nor ----LLLL are specified, _s_a_t__r_e_d_u_c_e selects records describing
- actions by users at any label. If both ----llll and ----LLLL are specified,
- _s_a_t__r_e_d_u_c_e prints a warning and a usage string to standard error, then
- exits. If more than one ----llll argument is specified, _s_a_t__r_e_d_u_c_e selects
- records describing actions by users at a label specified by any of the ----llll
- arguments. If more than one ----LLLL argument is specified, _s_a_t__r_e_d_u_c_e selects
- records describing actions by users at a label specified by none of the
- ----LLLL arguments.
-
- If neither ----nnnn nor ----NNNN are specified, _s_a_t__r_e_d_u_c_e selects records with
- pathnames containing any named object. If both ----nnnn and ----NNNN are specified,
- _s_a_t__r_e_d_u_c_e prints a warning and a usage string to standard error, then
- exits. If more than one ----nnnn argument is specified, _s_a_t__r_e_d_u_c_e selects
- records with pathnames containing a named object specified by any of the
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM)))) ssssaaaatttt____rrrreeeedddduuuucccceeee((((1111MMMM))))
-
-
-
- ----nnnn arguments. If more than one ----NNNN argument is specified, _s_a_t__r_e_d_u_c_e
- selects records with pathnames containing a named object specified by
- none of the ----NNNN arguments.
-
- If neither ----pppp nor ----PPPP are specified, _s_a_t__r_e_d_u_c_e selects both records
- describing permitted actions and records describing attempts at
- prohibited actions. If both ----pppp and ----PPPP are specified, _s_a_t__r_e_d_u_c_e selects
- no records at all.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- _s_a_t__r_e_d_u_c_e is commonly used in combination with other audit filters. In
- the following example, the Auditor wishes to obtain only the audit
- records generated between July 1 of this year and July 31 of this year,
- and display their human readable interpretation:
-
- satd -f /usr/adm/sat -o | sat_reduce -A 06302359 -a 08010000 |
- sat_interpret
-
- If the Auditor wishes to read audit records stored previously in a file
- named /_s_a_t__f_s/_j_u_l_y__3_1 and retain only the records describing the actions
- of users named "sneakyguy" and "maybecrooked", and further to retain only
- those actions that indicate attempted violations of system security
- policy, the correct command is:
-
- sat_reduce -u "sneakyguy maybecrooked" -P < /sat_fs/july_31 |
- sat_interpret
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- audit(1M), date(1), mac_from_text(3C), sat_interpret(1M), sat_select(1M),
- sat_summarize(1M), satd(1M), regex(3G), sat_eventtostr(3L).
-
- _I_R_I_X _A_d_m_i_n: _B_a_c_k_u_p, _S_e_c_u_r_i_t_y, _a_n_d _A_c_c_o_u_n_t_i_n_g
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-